﻿using Basic.FlowModel.DB;
using Basic.FlowModel.NodeRoute;
using Basic.FlowRemoteModel.NodeRoute.Model;

namespace Basic.FlowCollect
{
    public interface INodeRouteCollect
    {
        long Add ( RouteAdd data );
        void Clear ( long flowId );
        void Clear ( long flowId, long nodeId );
        void Delete ( DBFlowNodeRoute db );
        DBFlowNodeRoute Get ( long id );
        Result[] Gets<Result> ( long flowId ) where Result : class, new();
        FromToNode[] GetsFromToNode ( long nodeId );
    }
}